% Remember to use the lgrind style

\Head{}
\File{lib/syslib/sys\_chgprio.c}{2006}{11}{2}{19:18}{363}
\L{\LB{\V{\#include}_\3\V{syslib}.\V{h}\3}}
\L{\LB{}}
\L{\LB{\V{PUBLIC}_\V{int}_\V{sys\_chgprio}(\V{pid},_\V{priority},_\V{pidAnterior})}}
\L{\LB{\V{int}_\V{pid};}\Tab{24}{/*_\V{PID}_\V{del}_\V{proceso}_\V{a}_\V{cambiar}_\V{la}_\V{prioridad}_*/}}
\L{\LB{\V{int}_\V{priority};}\Tab{24}{/*_\V{La}_\V{prioridad}.\,.\,._*/}}
\L{\LB{\V{int}*_\V{pidAnterior};}\Tab{24}{/*_\V{PID}_\V{anterior}_\V{del}_\V{proceso}_*/}}
\L{\LB{\{}}
\L{\LB{}\Tab{2}{\V{message}_\V{m};}}
\L{\LB{}\Tab{2}{\V{int}_\V{r};}}
\L{\LB{}}
\L{\LB{}\Tab{2}{\V{m}.\V{m1\_i1}_=_\V{pid};}}
\L{\LB{}\Tab{2}{\V{m}.\V{m1\_i2}_=_\V{priority};}}
\L{\LB{}}
\L{\LB{}\Tab{2}{\V{r}_=_\V{\_taskcall}(\V{SYSTASK},_\V{SYS\_CHGPRIO},_\&\V{m});}}
\L{\LB{}}
\L{\LB{}\Tab{2}{*\V{pidAnterior}_=_\V{m}.\V{m1\_i3};}}
\L{\LB{}}
\L{\LB{}\Tab{2}{\V{return}_\V{r};}}
\L{\LB{\}}}
